package com.zjc.service.audio;

/**
 * Created by Administrator on 2018/5/22.
 */
public class AudioInvoker {
    public AudioInvoker(){}
    public AudioInvoker(AudioCommand[] command){
        this.audioCommand=command;
    }

    AudioCommand audioCommand[];

    public  void execute(){
        if(null!=audioCommand&& audioCommand.length>0){
            for(int x=0;x<audioCommand.length;x++){
                audioCommand[x].execute();
            }

        }

    }


}
